const Api = require('./ApiInterface');

module.exports = (router) => {
    router.prefix('/api');
    router
        .get('/a/:abc', Api.pagesA) // 符合  http://127.0.0.1:3000/api/a/123
        .get('/ac', Api.pagesA) // 符合 http://127.0.0.1:3000/api/ac?a=1
        .post('/b', Api.pagesB)
};

